<!DOCTYPE html>
<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8"><meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
<meta name="format-detection" content="telephone=no">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-capable" content="yes">

<script src="style/jquery-1.9.1.min.js"></script>
<script src="style/wpo_alog_speed.js" async></script><script src="style/alog.js"></script>
<title>{$INI['system']['abbreviation']}</title>

<link rel="stylesheet" type="text/css" href="style/common_css_0_6c6ef1d.css">
<link rel="stylesheet" type="text/css" href="style/detail_css_0_4359dd4.css">
<link rel="stylesheet" type="text/css" href="style/list_css_0_6f15796.css">
<script>alog('speed.set', 'ht',new Date);</script>
<script>
		var F = {};
		(function () {
			var b = {};
			F.context = function(p, r) {
				var q = arguments.length;
				if (q > 1) {
					b[p] = r
				} else {
					if (q == 1) {
						if (typeof p == "object") {
							for (var o in p) {
								if (p.hasOwnProperty(o)) {
									b[o] = p[o]
								}
							}
						} else {
							return b[p];
						}
					}
				}
			};
		})();

        if (!location.hash) {
            document.addEventListener("DOMContentLoaded", function () {
                // 先让 DOMContentLoaded 的其他事件处理完成，再执行 UI
                setTimeout(function(){
                    window.scrollTo(0, 1);
                }, 0);
            });
        }
	</script>
	<script type="text/javascript">
	navigator.geolocation.getCurrentPosition( … , function(error){ 
switch(error.code){ 
case error.TIMEOUT : 
alert( " 连接超时，请重试 " ); 
break; 
case error.PERMISSION_DENIED : 
alert( " 您拒绝了使用位置共享服务，查询已取消 " ); 
break; 
case error.POSITION_UNAVAILABLE : 
alert( " ，抱歉，暂时无法为您所在的星球提供位置服务 " ); 
break; 
} 
}); 



function isGeolocationAPIAvailable() 
{ 
var location = "No, Geolocation is not supported by this browser."; 
if (window.navigator.geolocation) { 
location = "Yes, Geolocation is supported by this browser."; 
} 
alert(location); 
} 



function requestPosition() { 
if (nav == null) { 
nav = window.navigator; 
} 
if (nav != null) { 
var geoloc = nav.geolocation; 
if (geoloc != null) { 
geoloc.getCurrentPosition(successCallback); 
} 
else { 
alert("Geolocation API is not supported in your browser"); 
} 
} 
else { 
alert("Navigator is not found"); 
} 
} 



function setLocation(val, e) { 
document.getElementById(e).value = val; 
} 
function successCallback(position) 
{ 
setLocation(position.coords.latitude, "latitude"); setLocation(position.coords.longitude, "longitude"); 
} 


function listenForPositionUpdates() { 
if (nav == null) { 
nav = window.navigator; 
} 
if (nav != null) { 
var geoloc = nav.geolocation; 
if (geoloc != null) { 
watchID = geoloc.watchPosition(successCallback); 
} else { 
alert("Geolocation API is not supported in your browser"); 
} 
} else { 
alert("Navigator is not found"); 
} 
} 



function successCallback(position){ 
setText(position.coords.latitude, "latitude"); setText(position.coords.longitude, "longitude"); 
} 



if (geoloc != null) { 
geoloc.getCurrentPosition(successCallback, errorCallback); 
} 
function errorCallback(error) { 
var message = ""; 
switch (error.code) { 
case error.PERMISSION_DENIED: 
message = "This website does not have permission to use " 
+ "the Geolocation API"; 
break; 
case error.POSITION_UNAVAILABLE: 
message = "The current position could not be determined."; 
break; 
case error.PERMISSION_DENIED_TIMEOUT: 
message = "The current position could not be determined " 
+ "within the specified timeout period."; 
break; 
} 
if (message == "") { 
var strErrorCode = error.code.toString(); 
message = "The position could not be determined due to " 
+ "an unknown error (Code: " + strErrorCode + ")."; 
} 
alert(message); 
} 
	</script>
</head>
<style>
.w-shop-map-main{background-color:#fff}.w-shop-map-main a,.w-shop-map-main a:hover,.w-shop-map-main a:visited,.w-shop-map-main a:link,.w-shop-map-main a:active{color:inherit}.w-shop-map-main .main-top{padding-top:7px}.w-shop-map-main .main-top .shop-name{font-size:18px;color:#262626;line-height:29px;margin:0 10px}.w-shop-map-main .main-top .shop-addr{font-size:12px;color:#333;line-height:20px;margin:0 10px 12px}.w-shop-map-main .main-top>div{display:-webkit-box;display:-webkit-flex;display:flex;border-top:1px solid #ccc;border-bottom:1px solid #ccc}.w-shop-map-main .main-top a:nth-child(2){border-left:1px solid #ccc}.w-shop-map-main .main-top a{-webkit-flex:1;-webkit-box-flex:1;flex:1;display:block;height:40px;line-height:40px;text-align:center;color:#000;font-size:14px}.w-shop-map-main .main-top a>span{padding-left:24px;display:inline-block;height:100%}.w-shop-map-main .main-top a.path>span{background:url(/wap/images/daohang.png) left center no-repeat;background-size:15px 21px}.w-shop-map-main .main-top a.contact>span{background:url(/static/img/icon-tel_342db33.png) left center no-repeat;background-size:17px 18px}
</style>
<body mon="position=detail_local">

<!--{include m_header}-->


<section class="w-shop-map-main" style=" border-top:1px solid #e0e0e0; border-bottom:1px solid #e0e0e0">
<div class="main-top">
<p class="shop-name">{$partner['title']}</p>
<p class="shop-addr">{$partner['address']}</p>
<div mon="action=click&amp;element_type=nav">
<a class="path" id="path" href="http://api.map.baidu.com/marker?location={$partner['longlat']}&title={$partner['title']}&content={$partner['title']}&output=html"><span>到这里去</span></a>
<a class="contact" bn-phone="88" mon="area=shopTelBtn&amp;element=037166288585"><span>联系商家({$partner['phone']})</span></a>
</div>
</div>
<div class="w-product-image" style=" border-top:1px solid #e0e0e0; max-width:auto; margin:0px auto;">
<!--<div class="rich-title j-block-title">商家地图</div>-->
{$partner['location']}
</div>
<!--<a class="w-ugc-preview clearfix " href="#" mon="type=ugcBtn">
<div class="ugc-rate">

<div class="w-rate-star">
<div class="rate-star-gray rate-star-gray16">
<div class="rate-star-real j-rate-star-real" style="width:111px;"></div>
</div>
</div>
<div class="rate-score">
5.0分
</div>
</div>
<div class="ugc-total ugc-total-arrow-right">${get_comment_nums($team['id'])}条评论</div>
</a>-->

<!--<div class="product-shop-block">
<section id="j-product-shop" class="w-product-shop">
<div class="shop-info">
<section class="w-shop-poi">-->
<!--<a href="http://m.nuomi.com/webapp/tuan/shopmap?merchantId=1478986" class="poi" mon="type=shopMain">-->
<!--<a href="http://api.map.baidu.com/marker?location={$partner['longlat']}&title={$partner['title']}&content={$partner['title']}&output=html"><p class="shop-title">{$partner['title']}</p>
<p class="shop-address">
{$partner['address']}
</p>-->
<!--<p style="background:url(/wap/images/daohang.png) no-repeat; padding-left:22px;">一键导航</p>
</a>
<a href="javascript:;" class="tel" bn-phone="010-82200459|010-82200452" mon="type=shopTelBtn"></a>
</section>
</div>
</section>
</div>
 -->
<!--<section class="w-rich-text"><div class="rich-title j-block-title">消费提示</div><div class="rich-content rich-wrapper">
{$team['notice']}
</div></section>
<section class="w-rich-text"><div class="rich-title j-block-title">本单详情</div><div class="rich-content rich-wrapper">

{$team['systemreview']}

</div></section>
<section class="w-rich-text"><div class="rich-title j-block-title">商家地图</div><div class="rich-content rich-wrapper">
{$partner['location']}
</div></section>-->
<!--<div class="w-buy-btn-normal w-buy-btn-normal-large" id="j-buy-ctn" mon="type=bottomBuy">
<a href="buy.php?id={$team['id']}" class="buy-btn" mon="price=1&amp;content=立即抢购">立即抢购</a>
</div>
-->

<!--{include m_footer}-->

</body></html>
